package com.coldchain.common.feign;

import com.coldchain.common.msg.ObjectRestResponse;
import com.coldchain.common.vo.OrderCountResultVo;

import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @ClassName ExpressionFeign
 * @Description TODO
 * @Author fangliai
 * @Date 2018/9/22 13:39
 * @Vesion 1
**/
@FeignClient(value = "ch-admin",configuration = {})
public interface ExpressionFeign {
    @RequestMapping(value = "/expression/getOrderPrice",method = RequestMethod.POST)
    public ObjectRestResponse<OrderCountResultVo> getOrderPrice
            (@RequestParam("orderKm") Integer orderKm,
              @RequestParam("delivery")Integer delivery,
              @RequestParam("citycode")String citycode,
              @RequestParam("carTypeId")Long carTypeId,
              @RequestParam("isInter")Boolean isInter);
}
